package cn.wh.db.router.annotation;

import java.lang.annotation.*;

/**
 * @Author wh
 * @Description 路由注解
 * @Date 2023/3/28 9:22
 * @Version 1.0
 **/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface DBRouter {

    //路由字段值
    String key() default "";

    //路由策略值
    String routingStrategy() default "";

}
